//
//  LoginInfoModel.h
//  XiaoMiao
//
//  Created by jinglian on 2018/2/6.
//  Copyright © 2018年 smallyou. All rights reserved.
//

//#import "BaseInfoModel.h"
#import <Foundation/Foundation.h>

@interface LoginInfoModel : NSObject
/** <#属性#> */
@property (nonatomic, copy) NSString *id;
/** <#属性#> */
@property (nonatomic, copy) NSNumber *type;
/** 时间戳 毫秒 */
@property (nonatomic, copy) NSNumber *createTime;

/** 头像路径 */
@property (nonatomic, copy) NSString *profile;
/** <#属性#> */
@property (nonatomic, copy) NSString *realName;
/** <#属性#> */
@property (nonatomic, copy) NSString *sex;
/** <#属性#> */
@property (nonatomic, copy) NSString *age;
/** 电话前缀 */
@property (nonatomic, copy) NSString *prix;
/** <#属性#> */
@property (nonatomic, copy) NSString *phone;
/** <#属性#> */
@property (nonatomic, copy) NSString *province;
/** <#属性#> */
@property (nonatomic, copy) NSString *city;
/** <#属性#> */
@property (nonatomic, copy) NSString *addr;

#pragma mark - Method
/** 获取登录信息 */
+ (LoginInfoModel *)getLoginInfo;

/** 持久化登录信息 */
+ (BOOL)persistLoginInfo:(LoginInfoModel *)loginInfo;

/** 清空登录信息 */
+ (void)clearLoginInfo;
 

@end



/*
 
 
 {
 "statusCode": "200",
 "msg": "成功",
 "partyView": {
 "id": "100000657000015",
 "phone": "18565408337",
 "prix": "+86",
 "realName": "Jim green",
 "sex": "男",
 "age": "90",
 "city": "广东省 广州",
 "province": null,
 "type": 1,
 "createTime": 1517882058000,
 "profile": null
 },
 "sid": "F4913889071A05F80214527F15201E73"
 }
 
 */
